package com.akmedia.lacommunity.service.impl;

import com.akmedia.lacommunity.entity.Eassy;
import com.akmedia.lacommunity.mapper.EassayMapper;
import com.akmedia.lacommunity.service.EassyService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author keep
 * @date 2025-09-03
 */
@Service("eassyService")
@AllArgsConstructor
public class EassyServiceImpl implements EassyService {
    private EassayMapper eassayMapper;

    @Override
    public void dataSynchronization() {

    }

    @Override
    public void createEassy(Eassy eassy) {
        eassayMapper.save(eassy);
    }

    @Override
    public List<Eassy> listEassys() {
        return eassayMapper.essayList();
    }
}
